package com.shengxing.lljl.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 网址今日流量
 * </p>
 *
 * @author 小邹
 * @since 2024-10-17
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("tb_url_traffic_today")
public class UrlTrafficToday implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 网址id
     */
    private Long urlId;

    /**
     * 记录时间段
     */
    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Integer recodeTime;

    /**
     * 时段流量
     */
    private Integer trafficNumber;


}
